cmd: fdt: Print error message when fdt application fails
authorStefan Agner <[email protected]>
Tue, 20 Dec 2016 14:58:45 +0000 (15:58 +0100)
committerSimon Glass <[email protected]>
Sat, 14 Jan 2017 01:19:45 +0000 (18:19 -0700)
commit082b1414e80ffa94569613705eac319488324516
tree234de69c816f550ca7c93bd4ea751810551cbaa5
parent46743c412de57158bde73a904511519d1fdab609
cmd: fdt: Print error message when fdt application fails

There are lots of reason why a FDT application might fail, the
error code might give an indication. Let the error code translate
in a error string so users can try to understand what went wrong.

Signed-off-by: Stefan Agner <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Acked-by: Simon Glass <[email protected]>
cmd/fdt.c